package com.hsq.androidproject.entity.find;

import java.util.List;

/**
 * Created by lenovo on 2017/3/18.
 */

public class FindMineTL {

    private int rescode;
    private long ts;


    private BoardBean board;
    private int more;
    private List<?> stickTopics;

    private List<TopicsBean> topics;

    public int getRescode() {
        return rescode;
    }

    public void setRescode(int rescode) {
        this.rescode = rescode;
    }

    public long getTs() {
        return ts;
    }

    public void setTs(long ts) {
        this.ts = ts;
    }

    public BoardBean getBoard() {
        return board;
    }

    public void setBoard(BoardBean board) {
        this.board = board;
    }

    public int getMore() {
        return more;
    }

    public void setMore(int more) {
        this.more = more;
    }

    public List<?> getStickTopics() {
        return stickTopics;
    }

    public void setStickTopics(List<?> stickTopics) {
        this.stickTopics = stickTopics;
    }

    public List<TopicsBean> getTopics() {
        return topics;
    }

    public void setTopics(List<TopicsBean> topics) {
        this.topics = topics;
    }

    public static class BoardBean {
        private int bid;
        private String title;
        private String thumb;
        private int cateId;
        private int topicCount;
        private int followCount;
        private boolean allowMedia;
        private int dailyCount;

        public int getBid() {
            return bid;
        }

        public void setBid(int bid) {
            this.bid = bid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public int getCateId() {
            return cateId;
        }

        public void setCateId(int cateId) {
            this.cateId = cateId;
        }

        public int getTopicCount() {
            return topicCount;
        }

        public void setTopicCount(int topicCount) {
            this.topicCount = topicCount;
        }

        public int getFollowCount() {
            return followCount;
        }

        public void setFollowCount(int followCount) {
            this.followCount = followCount;
        }

        public boolean isAllowMedia() {
            return allowMedia;
        }

        public void setAllowMedia(boolean allowMedia) {
            this.allowMedia = allowMedia;
        }

        public int getDailyCount() {
            return dailyCount;
        }

        public void setDailyCount(int dailyCount) {
            this.dailyCount = dailyCount;
        }
    }

    public static class TopicsBean {
        private int tid;
        private String title;
        private String content;
        private int likeCount;
        private int replyCount;
        private long postTime;
        private long lastReplyTime;
        private int uid;
        private String userNick;
        private String userAvatar;
        private boolean banUser;

        @Override
        public String toString() {
            return "TopicsBean{" +
                    "tid=" + tid +
                    ", title='" + title + '\'' +
                    ", content='" + content + '\'' +
                    ", likeCount=" + likeCount +
                    ", replyCount=" + replyCount +
                    ", postTime=" + postTime +
                    ", lastReplyTime=" + lastReplyTime +
                    ", uid=" + uid +
                    ", userNick='" + userNick + '\'' +
                    ", userAvatar='" + userAvatar + '\'' +
                    ", banUser=" + banUser +
                    ", photoes=" + photoes +
                    '}';
        }

        /**
         * mediaId : 554452
         * image : http://7xk9kc.com1.z0.glb.clouddn.com/hj_media/FrJnuV0BiONzAheCPDKN7ZsOx_Xa.jpg
         * thumb : http://7xk9kc.com1.z0.glb.clouddn.com/hj_media/FrJnuV0BiONzAheCPDKN7ZsOx_Xa.jpg?imageView2/1/w/200/h/200/interlace/1
         */

        private List<PhotoesBean> photoes;

        public int getTid() {
            return tid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getLikeCount() {
            return likeCount;
        }

        public void setLikeCount(int likeCount) {
            this.likeCount = likeCount;
        }

        public int getReplyCount() {
            return replyCount;
        }

        public void setReplyCount(int replyCount) {
            this.replyCount = replyCount;
        }

        public long getPostTime() {
            return postTime;
        }

        public void setPostTime(long postTime) {
            this.postTime = postTime;
        }

        public long getLastReplyTime() {
            return lastReplyTime;
        }

        public void setLastReplyTime(long lastReplyTime) {
            this.lastReplyTime = lastReplyTime;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getUserNick() {
            return userNick;
        }

        public void setUserNick(String userNick) {
            this.userNick = userNick;
        }

        public String getUserAvatar() {
            return userAvatar;
        }

        public void setUserAvatar(String userAvatar) {
            this.userAvatar = userAvatar;
        }

        public boolean isBanUser() {
            return banUser;
        }

        public void setBanUser(boolean banUser) {
            this.banUser = banUser;
        }

        public List<PhotoesBean> getPhotoes() {
            return photoes;
        }

        public void setPhotoes(List<PhotoesBean> photoes) {
            this.photoes = photoes;
        }

        public static class PhotoesBean {
            private int mediaId;
            private String image;
            private String thumb;

            public int getMediaId() {
                return mediaId;
            }

            public void setMediaId(int mediaId) {
                this.mediaId = mediaId;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }
    }
}
